export default {
	state: {
		userInfo: {
			bankId: "",
			bankName: "",
			cardId: "",
			name: ""
		}  
	},
	mutations: {
		changeuserInfo(state, data) {
			for (let key in data) {
				state.userInfo[key] = data[key]
			}
			console.log(state.userInfo);
		}
	}
}
